package cn.itsource.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterDTO {
    private String imageCode;
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "注册渠道不能为空")
    private String regChannel;
    @NotEmpty(message = "短信验证码不能为空")
    private String smsCode;
}
